package ciyuan.Utils;

import ciyuan.Block.BlockRegistryManager;
import ciyuan.Block.Machine.Stream.jygl.JyglTileEntity;
import ciyuan.Block.Machine.ddfsj.DdfsjTileEntity;
import ciyuan.Block.Machine.dlb.DlbTileEntity;
import ciyuan.Block.Machine.fkqgj.FkqgjTileEntity;
import ciyuan.Block.Machine.fsj.FsjTileEntity;
import ciyuan.Block.Machine.fyc.FycTileEntity;
import ciyuan.Block.Machine.gl.GlTileEntity;
import ciyuan.Block.Machine.lyj.LyjTileEntity;
import ciyuan.Block.Machine.pljsrl.PljsrlTileEntity;
import ciyuan.Block.Machine.rmfdj.RmfdjTileEntity;
import ciyuan.Block.Machine.ryfdj.RyfdjTileEntity;
import ciyuan.Block.Machine.st.StTileEntity;
import ciyuan.Block.Machine.tcjhc.TcjhcTileEntity;
import ciyuan.Block.Machine.yjcxj.YjcxjTileEntity;
import ciyuan.Block.Machine.yyj.YyjTileEntity;
import ciyuan.Block.Machine.yyjlq.YyjlqTileEntity;
import ciyuan.Block.Mortar.MortarTileEntity;
import ciyuan.MainClass;
import net.minecraft.tileentity.TileEntityType;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

/**
 * @author 150149
 */
public class TileEntityRegisterManager {

    public static final DeferredRegister<TileEntityType<?>> TILE_ENTITIES = DeferredRegister.create(ForgeRegistries.TILE_ENTITIES, MainClass.MODID);
    public static RegistryObject<TileEntityType<MortarTileEntity>> mortar = TILE_ENTITIES.register("mortar", () -> TileEntityType.Builder.of(MortarTileEntity::new, BlockRegistryManager.Mortar.get()).build(null));
    public static RegistryObject<TileEntityType<TcjhcTileEntity>> tcjhc = TILE_ENTITIES.register("tcjhc", () -> TileEntityType.Builder.of(TcjhcTileEntity::new, BlockRegistryManager.tcjhc.get()).build(null));
    public static RegistryObject<TileEntityType<GlTileEntity>> gl = TILE_ENTITIES.register("gl", () -> TileEntityType.Builder.of(GlTileEntity::new, BlockRegistryManager.gl.get()).build(null));
    public static RegistryObject<TileEntityType<FsjTileEntity>> fsj = TILE_ENTITIES.register("fsj", () -> TileEntityType.Builder.of(FsjTileEntity::new, BlockRegistryManager.fsj.get()).build(null));
    public static RegistryObject<TileEntityType<DdfsjTileEntity>> ddfsj = TILE_ENTITIES.register("ddfsj", () -> TileEntityType.Builder.of(DdfsjTileEntity::new, BlockRegistryManager.ddfsj.get()).build(null));
    public static RegistryObject<TileEntityType<YyjlqTileEntity>> yyjlq = TILE_ENTITIES.register("yyjlq", () -> TileEntityType.Builder.of(YyjlqTileEntity::new, BlockRegistryManager.yyjlq.get()).build(null));
    public static RegistryObject<TileEntityType<StTileEntity>> st = TILE_ENTITIES.register("st", () -> TileEntityType.Builder.of(StTileEntity::new, BlockRegistryManager.st.get()).build(null));
    public static RegistryObject<TileEntityType<DlbTileEntity>> dlb = TILE_ENTITIES.register("dlb", () -> TileEntityType.Builder.of(DlbTileEntity::new, BlockRegistryManager.dlb.get()).build(null));
    public static RegistryObject<TileEntityType<JyglTileEntity>> jygl = TILE_ENTITIES.register("jygl", () -> TileEntityType.Builder.of(JyglTileEntity::new, BlockRegistryManager.jygl.get()).build(null));
    public static RegistryObject<TileEntityType<FycTileEntity>> fyc = TILE_ENTITIES.register("fyc", () -> TileEntityType.Builder.of(FycTileEntity::new, BlockRegistryManager.fyc.get()).build(null));
    public static RegistryObject<TileEntityType<YyjTileEntity>> yyj = TILE_ENTITIES.register("yyj", () -> TileEntityType.Builder.of(YyjTileEntity::new, BlockRegistryManager.yyj.get()).build(null));
    public static RegistryObject<TileEntityType<YjcxjTileEntity>> yjcxj = TILE_ENTITIES.register("yjcxj", () -> TileEntityType.Builder.of(YjcxjTileEntity::new, BlockRegistryManager.yjcxj.get()).build(null));
    public static RegistryObject<TileEntityType<LyjTileEntity>> lyj = TILE_ENTITIES.register("lyj", () -> TileEntityType.Builder.of(LyjTileEntity::new, BlockRegistryManager.lyj.get()).build(null));
    public static RegistryObject<TileEntityType<PljsrlTileEntity>> pljsrl = TILE_ENTITIES.register("pljsrl", () -> TileEntityType.Builder.of(PljsrlTileEntity::new, BlockRegistryManager.pljsrl.get()).build(null));
    public static RegistryObject<TileEntityType<FkqgjTileEntity>> fkqgj = TILE_ENTITIES.register("fkqgj", () -> TileEntityType.Builder.of(FkqgjTileEntity::new, BlockRegistryManager.fkqgj.get()).build(null));
    public static RegistryObject<TileEntityType<RmfdjTileEntity>> rmfdj = TILE_ENTITIES.register("rmfdj", () -> TileEntityType.Builder.of(RmfdjTileEntity::new, BlockRegistryManager.rmfdj.get()).build(null));
    public static RegistryObject<TileEntityType<RyfdjTileEntity>> ryfdj = TILE_ENTITIES.register("ryfdj", () -> TileEntityType.Builder.of(RyfdjTileEntity::new, BlockRegistryManager.ryfdj.get()).build(null));

}
